package com.xy.entity;

public class News {
	private int nid;

	private int ntid;

	private String ntitle;

	private String nauthor;

	private String ncreateDate;

	private String ncontent;

	private String nmondifyDate;

	private String nsummary;

	private String tname;

	public String getTname() {
		return tname;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}

	public int getNid() {
		return nid;
	}

	public void setNid(int nid) {
		this.nid = nid;
	}

	public int getNtid() {
		return ntid;
	}

	public void setNtid(int ntid) {
		this.ntid = ntid;
	}

	public String getNtitle() {
		return ntitle;
	}

	public void setNtitle(String ntitle) {
		this.ntitle = ntitle;
	}

	public String getNauthor() {
		return nauthor;
	}

	public void setNauthor(String nauthor) {
		this.nauthor = nauthor;
	}

	public String getNcreateDate() {
		return ncreateDate;
	}

	public void setNcreateDate(String ncreateDate) {
		this.ncreateDate = ncreateDate;
	}

	public String getNcontent() {
		return ncontent;
	}

	public void setNcontent(String ncontent) {
		this.ncontent = ncontent;
	}

	public String getNmondifyDate() {
		return nmondifyDate;
	}

	public void setNmondifyDate(String nmondifyDate) {
		this.nmondifyDate = nmondifyDate;
	}

	public String getNsummary() {
		return nsummary;
	}

	public void setNsummary(String nsummary) {
		this.nsummary = nsummary;
	}

	public News(int nid, int ntid, String ntitle, String nauthor,
			String ncreateDate, String ncontent, String nmondifyDate,
			String nsummary) {
		super();
		this.nid = nid;
		this.ntid = ntid;
		this.ntitle = ntitle;
		this.nauthor = nauthor;
		this.ncreateDate = ncreateDate;
		this.ncontent = ncontent;
		this.nmondifyDate = nmondifyDate;
		this.nsummary = nsummary;
	}

	public News(int nid, int ntid, String ntitle, String nauthor,
			String ncreateDate, String nsummary) {
		super();
		this.nid = nid;
		this.ntid = ntid;
		this.ntitle = ntitle;
		this.nauthor = nauthor;
		this.ncreateDate = ncreateDate;
		this.nsummary = nsummary;
	}

	public News() {
		super();
	}

}
